BOOL CDlgDelete::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	((CButton*)GetDlgItem(IDC_RADIO_HEAD))->SetCheck(1);	
	GetDlgItem(IDC_EDIT_NUMBER)->EnableWindow(false);	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CDlgDelete::OnRadioHead() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_NUMBER)->EnableWindow(false);	
}

void CDlgDelete::OnRadioTail() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_NUMBER)->EnableWindow(false);	
}

void CDlgDelete::OnRadioNumber() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_NUMBER)->EnableWindow(true);	
}
